home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20021006-20030409
/
000169_jaltman2@nyc.rr.com_Tue Dec 10 09:09:56 EST 2002.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
48 lines
Article: 13952 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Remote DIR into array?
References: <at385f$8np$1@cpimail.cpicorp.com>
In-Reply-To: <at385f$8np$1@cpimail.cpicorp.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 25
Message-ID: <6HfJ9.235717$gB.43015314@twister.nyc.rr.com>
Date: Tue, 10 Dec 2002 06:18:42 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1039501122 66.108.138.151 (Tue, 10 Dec 2002 01:18:42 EST)
NNTP-Posting-Date: Tue, 10 Dec 2002 01:18:42 EST
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13952
If you are connected to a Kermit SERVER
REMOTE QUERY KERMIT files(<pattern>)
; \v(query) will now contain the number of files that match the pattern
ASSIGN foo \v(query)
FOR \%i 1 \m(foo) 1 {
REMOTE QUERY KERMIT nextfile()
; \v(query) now has a filename
ECHO \v(query)
}
Derek Chen-Becker wrote:
> Hi,
> I was wondering if there's an easy way to get a remote directory
> listing into an array. I was hoping that the /array switch would work
> for RDIR, but it didn't seem to work.
>
> Thanks,
>
> Derek
>